<h2>LegalIdentifier</h2>
<g:if test="${flash.notice}">
	${flash.notice}
</g:if>
<g:if test="${flash.error}">
	${flash.error}
</g:if>
<table border="2">
	<tr>
	<th>  ID</th>
		<th>idValue</th>
		<th>documentType</th>
		<th>validFrom</th>
		<th>validTo</th>

		

	</tr>
	<g:each in="${legalidentifiers}">
		<tr>
			<td><g:link action="show" id="${it.id}">
					${it.id}
				</g:link></td>
			<td>
				${it.idValue}
			</td>
			<td>
				${it.documentType}
			</td>
			<td>
				${it.validFrom}
			</td>
			<td>
				${it.validTo}
			</td>
			
			<td>
			<g:link action="deleteLeg" id="${it.id}">Delete</g:link>
			</td>
			<td><g:link action="editLeg" id="${it.id}">Edit</g:link> </td>
		</tr>
	</g:each>
	
</table>
<g:link action="createLeg" id="${it.id}">Create</g:link>

<g:link action="index" params="[max: max, start:start-max]"> Previous </g:link>
<g:link action="index" params="[max: max, start:start+max]"> Next </g:link><br>